<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h3>人对象</h3>
		<h3>动态添加</h3>
		<p>
			347/7=49+4
			347/49=7+4
			347/343=1+4
			347/8=43+4
			347/56=6+11
			17/7=2+6
			
			8=7+1
			56=49+1
			336=294+6
			11=10+3
			
			303/7=4
			
		</p>
		<script type="text/javascript">
			var person = {
				firstname : "光头",
				lastname : "强",
				age : 18,
				fullName : function(){
					return this.firstname + this.lastname;
				}
			}
			console.log(person);
			console.log(person.firstname);
			console.log(person.age);
			console.log(person.fullName());
			
			person.address = "开封";
			person.fullName2 = function(){
				return person.firstname+person.lastname+","+person.address
			}
			console.log(person);
			console.log(person.fullName2());
			
		</script>
	</body>
</html>
